﻿<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
  <PythonExport
    Father="PersistencePy"
    Name="ConstraintPy"
    Twin="Constraint"
    TwinPointer="Constraint"
    Include="Mod/Sketcher/App/Constraint.h"
    Namespace="Sketcher"
    FatherInclude="Base/PersistencePy.h"
    FatherNamespace="Base"
    Constructor="true"
    Delete="true">

    <Documentation>
      <Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
      <UserDocu>With this object you can handle sketches</UserDocu>
    </Documentation>
    <Attribute Name="Type" ReadOnly="true">
        <Documentation>
            <UserDocu>Get the constraint type</UserDocu>
        </Documentation>
        <Parameter Name="Type" Type="String"/>
    </Attribute>
    <Attribute Name="First" ReadOnly="false">
      <Documentation>
        <UserDocu>First geometry index the Constraint refers to</UserDocu>
      </Documentation>
      <Parameter Name="First" Type="Long"/>
    </Attribute>
    <Attribute Name="FirstPos" ReadOnly="false">
      <Documentation>
        <UserDocu>Position of first geometry index the Constraint refers to</UserDocu>
      </Documentation>
      <Parameter Name="FirstPos" Type="Long"/>
    </Attribute>
    <Attribute Name="Second" ReadOnly="false">
      <Documentation>
        <UserDocu>Second geometry index the Constraint refers to</UserDocu>
      </Documentation>
      <Parameter Name="Second" Type="Long"/>
    </Attribute>
    <Attribute Name="SecondPos" ReadOnly="false">
      <Documentation>
        <UserDocu>Position of second geometry index the Constraint refers to</UserDocu>
      </Documentation>
      <Parameter Name="SecondPos" Type="Long"/>
    </Attribute>
    <Attribute Name="Third" ReadOnly="false">
      <Documentation>
        <UserDocu>Third geometry index the Constraint refers to</UserDocu>
      </Documentation>
      <Parameter Name="Third" Type="Long"/>
    </Attribute>
    <Attribute Name="ThirdPos" ReadOnly="false">
      <Documentation>
        <UserDocu>Position of third geometry index the Constraint refers to</UserDocu>
      </Documentation>
      <Parameter Name="ThirdPos" Type="Long"/>
    </Attribute>
    <Attribute Name="Value" ReadOnly="true">
      <Documentation>
        <UserDocu>Value of the Constraint</UserDocu>
      </Documentation>
      <Parameter Name="Value" Type="Float"/>
    </Attribute>
    <Attribute Name="Name" ReadOnly="false">
      <Documentation>
        <UserDocu>Name of the constraint</UserDocu>
      </Documentation>
      <Parameter Name="Name" Type="String"/>
    </Attribute>
    <Attribute Name="Driving" ReadOnly="true">
      <Documentation>
        <UserDocu>Driving Constraint</UserDocu>
      </Documentation>
      <Parameter Name="Driving" Type="Boolean"/>
    </Attribute>
    <Attribute Name="InVirtualSpace" ReadOnly="true">
      <Documentation>
        <UserDocu>Constraint in virtual space</UserDocu>
      </Documentation>
      <Parameter Name="InVirtualSpace" Type="Boolean"/>
    </Attribute>
    <Attribute Name="IsActive" ReadOnly="true">
        <Documentation>
            <UserDocu>Returns whether the constraint active (enforced) or not</UserDocu>
        </Documentation>
        <Parameter Name="IsActive" Type="Boolean"/>
    </Attribute>
    <Attribute Name="LabelDistance" ReadOnly="true">
        <Documentation>
            <UserDocu>Label distance</UserDocu>
        </Documentation>
        <Parameter Name="LabelDistance" Type="Float"/>
    </Attribute>
    <Attribute Name="LabelPosition" ReadOnly="true">
        <Documentation>
            <UserDocu>Label position</UserDocu>
        </Documentation>
        <Parameter Name="LabelPosition" Type="Float"/>
    </Attribute>
  </PythonExport>
</GenerateModel>
